home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
biz
/
misc
/
BlitzBank229.lha
/
blitzbank
/
InstallEnglish
< prev
next >
Wrap
Text File
|
1996-07-04
|
4KB
|
132 lines
(welcome)
(set PROGNAME "BlitzBank")
(working "Searching for version of BlitzBank...")
(set version (getversion "blitzbank"))
(set vers (/ version 65536))
(set revis (- version (* vers 65536) ) )
(if (<> (getassign "blitzbank") "")
(if (exists "blitzbank:blitzbank")
( (working "Searching for version of BlitzBank\n already installed...")
(set vernum (getversion "blitzbank:blitzbank"))
(if (= vernum 0)
(
(set reponse (askbool
(prompt "An inferior version of Blitzbank\n is already installed.\n"
("Do you want to install this version %ld.%ld\n at its place ?" vers revis))
(choices "Yes" "No")
(help "If you choose YES, you will be ask for a directory."))
)
)
( (set ver (/ vernum 65536))
(set rev (- vernum (* ver 65536) ) )
(if (> version vernum)
( (set reponse (askbool
(prompt ("Blitzbank V%ld.%ld is already installed.\n" ver rev)
("Do you want to install this version %ld.%ld\n at its place ?" vers revis))
(choices "Yes" "No")
(help "If you choose YES, you will be ask for a directory."))
)
)
)
(if (< version vernum)
((set reponse (askbool
(prompt ("Blitzbank V%ld.%ld is already installed.\n" ver rev)
("Are you sure you want to install \nthis old version %ld.%ld at its place ?" vers revis))
(choices "Yes" "No")
(help "If you choose YES, you will be ask for a directory."))
)
)
)
(if (= version vernum)
((set reponse (askbool
(prompt ("The same version of Blitzbank (V%ld.%ld)\n is already installed.\n" ver rev)
"Do you want to reinstall it\n in the same directory ?")
(choices "Yes" "No")
(help "If you choose YES, you will be ask for a directory."))
)
)
)
)
)
)
)
)
(if (not reponse) (set destination
(askdir
(prompt ("In which Directory Would you like\n to install %s %ld.%ld ?" PROGNAME vers revis) )
(help
"all files will be copied directly to this directory."
)
(default "dh0:")
)
)
( set destination "BlitzBank:" )
)
(if (= (getassign (substr destination 0 (- (strlen destination) 1))) "")
(set @default-dest destination)
(set @default-dest (getassign (substr destination 0 (- (strlen destination) 1))))
)
; Install main program files
(set path.source (pathonly @icon) )
(copyfiles
(prompt ("Copying Files To %s" @default-dest))
(help "")
(choices
"datas"
"Doc"
"Doc.info"
"BlitzBank"
"BlitzBank.im"
"BlitzBank.info"
"Exemple.cpt"
"Exemple.cpt.info" (if (<> destination "BlitzBank:") "BlitzBank.prefs" "Exemple.cpt"))
(source path.source)
(dest @default-dest)
)
(complete 80)
(copyfiles
(prompt "Copying Fonts")
(help ""
)
(choices "BlitzBank" "BlitzBank.font" )
(source "fonts/")
(dest "FONTS:")
(infos)
(optional nofail)
)
(complete 90)
(if (<> destination "BlitzBank:")
(startup
PROGNAME
(prompt "I am going to update your User-Startup..."
)
(help
"Select PROCEED to have the Assign command in your User-Startup."
)
(command ("assign blitzbank: \"%s\"" @default-dest))
)
)
(makeassign "BlitzBank" @default-dest)
(complete 100)
(exit
"Now, double click on BlitzBank... "
("in the directory %s" @default-dest)
)